<?php

namespace App\Http\Controllers\api;

use App\Http\Controllers\Controller;
use lxs\api\ApiResponse;
use lxs\tools\Tools;

class CustomerServiceController extends Controller
{

    /**
     * 获取客服二维码
     */
    public function getCustomerServiceQrcode() {

        $qrcode = Tools::Config('system.CURSTOMER_QRCODE');

        return ApiResponse::success('获取客服二维码成功', [
            'qrcode' => $qrcode
        ]);
    }

}
